//测试创建模块
var name;

//exports 是模块公开的接口
exports.setName = function (thyName) {
    name = thyName;
};

exports.sayHello = function () {
    console.log('Hello ' + name);
};